package db;

import java.sql.SQLException;
import java.util.ArrayList;

import model.Country;

public interface IFCountry
{	
	public ArrayList<Country> getCountriesByAllInfo( String search)  throws SQLException;
	
	public ArrayList<Country> getCountryByName(String name)  throws SQLException;
	
	public ArrayList<Country> getCountryByTld(String tld)  throws SQLException;
	
	public ArrayList<Country> getAllCountries()  throws SQLException;
	
	public Country getOne(String clause, String search)  throws SQLException;
		
	public int createCountry(Country country)  throws SQLException;
	
	public int updateCountry(Country country)  throws SQLException;
}